// a candybar  structure
struct CandyBar {
    char brand[40];
    double weight;
    int calories;
};
    
#include <iostream>

int main()
{
    using namespace std;  //introduces namespace std
    CandyBar snack[3] = {{ "Mocha Munch", 2.3, 350 },
						 { "Mocha Munch", 2.3, 350 },
						 { "Mocha Munch", 2.3, 350 }};
    
    cout << "Brand name: " << snack[0].brand << endl;
    cout << "Weight: " << snack[1].weight << endl;
    cout << "Calories: " << snack[2].calories << endl;
    
    return 0;
}
